VindiPaymentGateways\WcVindiPayment S

Total Complexity 44
Dependencies 26
Dependents 1
Total lines 368
Lines of code 198
Logical lines of code 131
Comment lines 68
Methods 16
Properties 11

Methods 16

Method Rating Maintainability Complexity Lines of code
renew_pix_charge()
S
51 5 26
is_cart_mixed_with_subscription()
S
59 4 15
limit_same_subscriptions()
S
60 4 14
cart_has_trial()
S
63 4 11
subscription_exceeds_limit()
S
62 4 11
disallow_subscription_single_product_cart()
S
62 3 12
limit_duplicate_subscriptions_cart_update()
S
63 3 11
get_instance()
S
64 3 10
filter_woocommerce_cart_needs_payment()
S
70 3 6
get_subscription_count()
S
64 3 10
count_subscriptions_in_cart()
S
65 3 9
init()
S
52 1 26
__construct()
S
52 1 24
getPath()
S
80 1 3
add_gateway()
S
68 1 7
is_virtual_product()
S
81 1 3